package com.punai.Incomedata.service;

import cn.hutool.core.lang.tree.Tree;
import com.punai.Incomedata.vo.IProLibIncomeBaseVo;
import com.punai.common.core.page.TableDataInfo;

import java.util.List;

public interface IProLibIncomeBaseService<T extends IProLibIncomeBaseVo> {
    enum Tab_Type {
        zjhz("zjhz", "造价汇总"),
        fbfx("fbfx", "分部分项费"),
        csxm("csxm", "措施项目费"),
        qtxm("qtxm", "其他项目费"),
        rcjhz("rcjhz", "人材机汇总");
        private String code;
        private String name;

        Tab_Type(String code, String name) {
            this.code = code;
            this.name = name;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }
    }
    List<? extends IProLibIncomeBaseVo> selectMainTableData(T vo);

    TableDataInfo selectMainTableDataSize(T vo);

    List<Tree<Integer>> selectCbBidNodeList(T vo);

    List<Object> selectDetailTableDataList(T vo);
}
